import { http } from "@/utils/http";
// 查询登录日志列表
export function list(query) {
  return http.request("get", "/monitor/logininfor/list", { params: query });
}

// 删除登录日志
export function delLogininfor(infoId) {
  return http.request("delete", "/monitor/logininfor/" + infoId);
}

// 解锁用户登录状态
export function unlockLogininfor(userName) {
  return http.request("get", "/monitor/logininfor/unlock/" + userName);
}

// 清空登录日志
export function cleanLogininfor() {
  return http.request("delete", "/monitor/logininfor/clean");
}
